package model;

import java.math.BigInteger;


public class Model {

	private static final String WARTOSC_POCZATKOWA = "1";
	
	private BigInteger suma;
	
	public Model() {
		kasuj();
	}

	public void kasuj() {
		suma = new BigInteger(WARTOSC_POCZATKOWA);
	}
	
	public void multipleBy(String input) {
		suma = suma.multiply(new BigInteger(input));
	}
	
	public void setValue(String value) {
		suma = new BigInteger(value);
	}
	
	public String getValue() {
		return suma.toString();
	}
	
}
